package com.cloud.service3.Interface;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "nacos-service-2", url = "http://localhost:9100")
@RequestMapping("/service2")
public interface Service2 {
    @GetMapping("/echo")
    public String echo();
}
